#define _CRT_SECURE_NO_WARNINGS 1


#include "seqList.h"

int main()
{
	SeqList s;
	SeqListInit(&s);

	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPrint(&s);

	SeqListInsert(&s, 3, 5);
	SeqListInsert(&s, 3, 6);
	SeqListInsert(&s, 3, 7);
	SeqListInsert(&s, 3, 8);
	SeqListPrint(&s);

	SeqListPopBack(&s);
	SeqListPopBack(&s);
	SeqListPopBack(&s);
	SeqListPopBack(&s);
	SeqListPrint(&s);


	SeqListErase(&s, 1);
	SeqListErase(&s, 1);

	SeqListPrint(&s);

	//free(s.a);

	SeqListDestroy(&s);

	return 0;

}